package com.mohan.dao;

import java.util.List;

import com.mohan.pojo.Reply;

public interface ReplyDao {
	/**
	 * 插入一个回复
	 * @param reply
	 */
	public void insertReply(Reply reply);
	
	/**
	 * 获取所有评论的回复
	 * @return
	 */
	public List<Reply> selectReplys();
	
	/**
	 * 根据评论的id获取其所有回复
	 * @param commentId
	 * @return
	 */
	public List<Reply> selectReplysForCommentId(int commentId);
}
